<!DOCTYPE html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT" />










<meta name="description" content="学习java一定的时间了，这里一些知识点的整理  变量必须是字母,下划线或者$符开头不能是 java 关键字变量命名规范 驼峰写法,类首字母大写驼峰写法12int $a = 123;int _b = 123; 基本数据类型12345678910111213141516//变量的形成分为两个步骤声明和初始化变量只是一个声明的存储单元而已int aa, bbb, ccc;//1.byte 1字节 s">
<meta property="og:type" content="article">
<meta property="og:title" content="kyssion-blog">
<meta property="og:url" content="http://yoursite.com/2018/10/09/java-一些基本知识点整理/index.html">
<meta property="og:site_name" content="kyssion-blog">
<meta property="og:description" content="学习java一定的时间了，这里一些知识点的整理  变量必须是字母,下划线或者$符开头不能是 java 关键字变量命名规范 驼峰写法,类首字母大写驼峰写法12int $a = 123;int _b = 123; 基本数据类型12345678910111213141516//变量的形成分为两个步骤声明和初始化变量只是一个声明的存储单元而已int aa, bbb, ccc;//1.byte 1字节 s">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2018-10-09T07:22:37.337Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="kyssion-blog">
<meta name="twitter:description" content="学习java一定的时间了，这里一些知识点的整理  变量必须是字母,下划线或者$符开头不能是 java 关键字变量命名规范 驼峰写法,类首字母大写驼峰写法12int $a = 123;int _b = 123; 基本数据类型12345678910111213141516//变量的形成分为两个步骤声明和初始化变量只是一个声明的存储单元而已int aa, bbb, ccc;//1.byte 1字节 s">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/2018/10/09/java-一些基本知识点整理/"/>





  <title> | kyssion-blog</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">kyssion-blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-schedule">
          <a href="/schedule/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-calendar"></i> <br />
            
            日程表
          </a>
        </li>
      
        
        <li class="menu-item menu-item-sitemap">
          <a href="/sitemap.xml" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-sitemap"></i> <br />
            
            站点地图
          </a>
        </li>
      
        
        <li class="menu-item menu-item-commonweal">
          <a href="/404/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-heartbeat"></i> <br />
            
            公益404
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2018/10/09/java-一些基本知识点整理/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="kyssion">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="kyssion-blog">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline"></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-10-09T15:22:37+08:00">
                2018-10-09
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <blockquote>
<p>学习java一定的时间了，这里一些知识点的整理</p>
</blockquote>
<h2 id="变量必须是字母-下划线或者-符开头不能是-java-关键字变量命名规范-驼峰写法-类首字母大写驼峰写法"><a href="#变量必须是字母-下划线或者-符开头不能是-java-关键字变量命名规范-驼峰写法-类首字母大写驼峰写法" class="headerlink" title="变量必须是字母,下划线或者$符开头不能是 java 关键字变量命名规范 驼峰写法,类首字母大写驼峰写法"></a>变量必须是字母,下划线或者$符开头不能是 java 关键字变量命名规范 驼峰写法,类首字母大写驼峰写法</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">int</span> $a = <span class="number">123</span>;</span><br><span class="line"><span class="keyword">int</span> _b = <span class="number">123</span>;</span><br></pre></td></tr></table></figure>
<h2 id="基本数据类型"><a href="#基本数据类型" class="headerlink" title="基本数据类型"></a>基本数据类型</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//变量的形成分为两个步骤声明和初始化</span></span><br><span class="line">变量只是一个声明的存储单元而已</span><br><span class="line"><span class="keyword">int</span> aa, bbb, ccc;</span><br><span class="line"><span class="comment">//</span></span><br><span class="line"><span class="number">1</span>.<span class="keyword">byte</span> <span class="number">1</span>字节 <span class="keyword">short</span></span><br><span class="line"><span class="number">2</span>字节 <span class="keyword">int</span> <span class="number">4</span>字节 <span class="keyword">long</span></span><br><span class="line"><span class="number">8</span>字节 <span class="keyword">float</span></span><br><span class="line"><span class="keyword">double</span> <span class="keyword">boolean</span> <span class="keyword">char</span></span><br><span class="line">Integer.toBinaryString($a);<span class="comment">// 转化为二进制字符串</span></span><br><span class="line"><span class="keyword">long</span> c = <span class="number">1234L</span>;<span class="comment">// 显示声明长整型</span></span><br><span class="line"><span class="comment">// 进转化问题</span></span><br><span class="line"><span class="keyword">int</span> d = <span class="number">0123</span>;<span class="comment">// 使用 8进制</span></span><br><span class="line">d = <span class="number">0x1234</span>;<span class="comment">// 使用16进制</span></span><br><span class="line">d = <span class="number">0b1000_0000</span>;<span class="comment">//</span></span><br><span class="line">j7新特心直接进行</span><br><span class="line">二进制编写</span><br></pre></td></tr></table></figure>
<h2 id="java-运算符"><a href="#java-运算符" class="headerlink" title="java 运算符"></a>java 运算符</h2><p><strong>赋值运算符</strong> : =<br><strong>关系运算符</strong> : &gt; , &lt; , &gt;= , &lt;= , == , != , instanceof<br><strong>逻辑运算符</strong> : &amp;&amp; , || , !<br><strong>位运算符</strong> : &amp; , | , ^异或 , ~非 , &gt;&gt; , &lt;&lt; , &gt;&gt;&gt;<br><strong>条件运算符</strong>: ? :<br><strong>扩展赋值运算符</strong> : += , -= , *= , /=</p>
<h1 id="流程控制语句"><a href="#流程控制语句" class="headerlink" title="流程控制语句"></a>流程控制语句</h1><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">if</span> (<span class="keyword">true</span>) &#123;</span><br><span class="line"> </span><br><span class="line">&#125; <span class="keyword">else</span> <span class="keyword">if</span> (<span class="keyword">true</span>) &#123;</span><br><span class="line"> </span><br><span class="line">&#125; <span class="keyword">else</span> &#123;</span><br><span class="line"> </span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">while</span> (<span class="keyword">true</span>) &#123;</span><br><span class="line"><span class="keyword">break</span>;</span><br><span class="line">&#125;</span><br><span class="line"><span class="comment">// 先运行在判断---这个方法相当于给代码块进行命名而已</span></span><br><span class="line">hhe: <span class="keyword">do</span> &#123;</span><br><span class="line"><span class="keyword">break</span> hhe;</span><br><span class="line"><span class="comment">// continue hhe;//表示跳出一定的循环结构</span></span><br><span class="line">&#125; <span class="keyword">while</span> (<span class="keyword">true</span>);</span><br><span class="line"><span class="comment">// jdk7 增强型switch控制语句 可用int 枚举类型和字符串</span></span><br><span class="line">String string = <span class="string">"sdf"</span>;<span class="comment">//如果不添加break switch会将之后所有的对象都当成自己代码快中的东西会忽略case 一直执行下去</span></span><br><span class="line"><span class="keyword">switch</span> (string) &#123;</span><br><span class="line"><span class="keyword">case</span> <span class="string">"ggg"</span>:</span><br><span class="line">System.out.println(<span class="string">"One.main()"</span>);</span><br><span class="line"><span class="keyword">break</span>;</span><br><span class="line"><span class="keyword">default</span>:</span><br><span class="line"><span class="keyword">break</span>;</span><br><span class="line">&#125;</span><br><span class="line"><span class="keyword">while</span> (<span class="keyword">true</span>) &#123;</span><br><span class="line"><span class="keyword">break</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<h2 id="基础方法-scanner"><a href="#基础方法-scanner" class="headerlink" title="基础方法 scanner"></a>基础方法 scanner</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@SuppressWarnings</span>(<span class="string">"resource"</span>)</span><br><span class="line">Scanner scanner = <span class="keyword">new</span> Scanner(System.in);<span class="comment">// 传入一个输入流</span></span><br><span class="line"><span class="comment">// 引申可以从字符串（Readable）、输入流、文件等等来直接构建Scanner对象，有了Scanner了，</span></span><br><span class="line"><span class="comment">// 就可以逐段（根据正则分隔式）来扫描整个文本，并对扫描后的结果做想要的处理。</span></span><br><span class="line">String line = scanner.nextLine(); <span class="comment">// 获得控制台输入的下一行</span></span><br><span class="line">scanner.useDelimiter(<span class="string">"|,|\\."</span>); <span class="comment">//以指定的字符记性分割字符串</span></span><br><span class="line">scanner.delimiter(); <span class="comment">//返回此 Scanner 当前正在用于匹配分隔符的 Pattern。</span></span><br><span class="line">scanner.hasNext() ; <span class="comment">//判断扫描器中当前扫描位置后是否还存在下一段。（原APIDoc的注释很扯淡）</span></span><br><span class="line">scanner.hasNextLine(); <span class="comment">//如果在此扫描器的输入中存在另一行，则返回 true。</span></span><br><span class="line">scanner.next(); <span class="comment">//查找并返回来自此扫描器的下一个完整标记。</span></span><br><span class="line">scanner.nextLine(); <span class="comment">//此扫描器执行当前行，并返回跳过的输入信息。</span></span><br><span class="line"><span class="comment">//java 比较运算符 -- 只能用来比较有继承关系的类</span></span><br><span class="line">Integer bb=<span class="number">12</span>;</span><br><span class="line"><span class="comment">//这个是对象比较符</span></span><br><span class="line"><span class="keyword">if</span> (bb <span class="keyword">instanceof</span> Integer) &#123;</span><br><span class="line">&#125;</span><br><span class="line"><span class="comment">//使用类名称比较符</span></span><br><span class="line">Integer.class.isInstance(bb);</span><br></pre></td></tr></table></figure>
<h2 id="枚举类型-简单枚举类型"><a href="#枚举类型-简单枚举类型" class="headerlink" title="枚举类型 简单枚举类型"></a>枚举类型 简单枚举类型</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="keyword">enum</span> Color &#123;</span><br><span class="line">RED, GREEN, BLANK, YELLOW</span><br><span class="line">&#125;</span><br><span class="line"><span class="comment">// 可以在内部声明方法</span></span><br><span class="line"><span class="keyword">public</span> <span class="keyword">enum</span> Light &#123;</span><br><span class="line"><span class="comment">// 利用构造函数传参---枚举类型中每一个参数就相当于一个枚举类型</span></span><br><span class="line">RED(<span class="number">1</span>), GREEN(<span class="number">3</span>), YELLOW(<span class="number">2</span>);</span><br><span class="line"><span class="comment">// 定义私有变量</span></span><br><span class="line"><span class="keyword">private</span> <span class="keyword">int</span> nCode;</span><br><span class="line"><span class="comment">// 构造函数，枚举类型只能为私有</span></span><br><span class="line"><span class="function"><span class="keyword">private</span> <span class="title">Light</span><span class="params">(<span class="keyword">int</span> _nCode)</span> </span>&#123;</span><br><span class="line"><span class="keyword">this</span>.nCode = _nCode;</span><br><span class="line">&#125;</span><br><span class="line"><span class="meta">@Override</span></span><br><span class="line"><span class="function"><span class="keyword">public</span> String <span class="title">toString</span><span class="params">()</span> </span>&#123;</span><br><span class="line"><span class="keyword">return</span> String.valueOf(<span class="keyword">this</span>.nCode);</span><br><span class="line">&#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<h2 id="Java包注释"><a href="#Java包注释" class="headerlink" title="Java包注释"></a>Java包注释</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@author</span> 作者</span><br><span class="line"><span class="meta">@version</span> 版本</span><br><span class="line"><span class="meta">@param</span> 参数</span><br><span class="line"><span class="meta">@return</span> 返回值</span><br><span class="line"><span class="meta">@throws</span> 异常</span><br><span class="line"><span class="meta">@deprecated</span> 废弃</span><br></pre></td></tr></table></figure>

      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2018/10/09/java-从源代码分析javaNIO的运行过程(一)/" rel="next" title="">
                <i class="fa fa-chevron-left"></i> 
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2018/10/09/spring5-数据库支持/" rel="prev" title="">
                 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">kyssion</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">133</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                
                  <span class="site-state-item-count">3</span>
                  <span class="site-state-item-name">分类</span>
                
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                
                  <span class="site-state-item-count">2</span>
                  <span class="site-state-item-name">标签</span>
                
              </div>
            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#变量必须是字母-下划线或者-符开头不能是-java-关键字变量命名规范-驼峰写法-类首字母大写驼峰写法"><span class="nav-number">1.</span> <span class="nav-text">变量必须是字母,下划线或者$符开头不能是 java 关键字变量命名规范 驼峰写法,类首字母大写驼峰写法</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#基本数据类型"><span class="nav-number">2.</span> <span class="nav-text">基本数据类型</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#java-运算符"><span class="nav-number">3.</span> <span class="nav-text">java 运算符</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#流程控制语句"><span class="nav-number"></span> <span class="nav-text">流程控制语句</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#基础方法-scanner"><span class="nav-number">1.</span> <span class="nav-text">基础方法 scanner</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#枚举类型-简单枚举类型"><span class="nav-number">2.</span> <span class="nav-text">枚举类型 简单枚举类型</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Java包注释"><span class="nav-number">3.</span> <span class="nav-text">Java包注释</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">kyssion</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Mist</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
